import app from './module.js';
import { httpConfig, locationConfig } from './baseConfig';
import routeConfig from './router';

import './style/index.less';

app.config(httpConfig);
app.config(locationConfig);
app.config(routeConfig);

app.run(function($rootScope, $state) {
  $rootScope.$on("$stateChangeStart", function(evt, next, current) {
    // console.log(evt, next, current)
  });
});
